<?php
namespace Android\Controller;
use Think\Cache\Driver\Db;
use Think\Controller;
class ServiceController extends  Controller
{
    public function insert(){
        $info=M('service');
        $data=$info->create();
        $success= $info->data($data)->add();
        if($success){
            echo "success";
        }else{
            echo "false";
        }
    }
}